package com.wjw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wjw.pojo.MainMenu;
import com.wjw.pojo.Order;

import java.util.List;

public interface OrderService extends IService<Order> {
    PageInfo<Order> listMyOrders(Integer userId, String bookName);

    PageInfo<Order> myCart(Integer userId);

    int payOrder(Integer userId);

    PageInfo<Order> listMySale(String userName, String bookName);

    List<MainMenu> queryAll();

    PageInfo<Order> listOrder(Integer id);
}
